package com.example.tianling.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.tianling.entity.BookEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

@Mapper
public interface BookMapper extends BaseMapper<BookEntity> {
    @Update("truncate table book")
    void deleteAllBook();
}
